import { useTaskTypes } from "../utils/task-type";
import { IdSelect } from "./id-select";

export const TaskTypeSelect = (props: React.ComponentProps<typeof IdSelect>) => {
    const { data: types } = useTaskTypes();
    return (
        <IdSelect options={types || []} {...props} />
    )
}